package c.x.jy.service.service;

import c.x.jy.dao.dto.TeacherEntityDto;
import c.x.jy.dao.entity.SysUserEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import c.x.jy.common.utils.PageUtils;
import c.x.jy.dao.entity.TeacherEntity;

import java.util.List;
import java.util.Map;

/**
 * 老师申请及信息表
 *
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-24 10:16:30
 */
public interface TeacherService extends IService<TeacherEntity> {

    PageUtils queryPage(Map<String, Object> params);

//    TeacherEntityDto getDetailByID(Long id);
    TeacherEntity getByMemberId(Long memberId);

    TeacherEntityDto selectById(Long id);

    List<TeacherEntityDto> hotTeachers();

    List<TeacherEntityDto>  selectTeacherInfoByServiceId(Long serviceId,Integer sortby,String name);

    void passById(Long id, SysUserEntity checkUser);

    void rejectById(Long id, SysUserEntity checkUser);

 

	List<TeacherEntity> selectTeachersByJoinQuickAsk();

    PageUtils selectlist(Map<String, Object> params);
}


